PCommand

A concrete utility class used by all high level command classes. Normally, an instance of this class is created by the high level class in its constructor.

When using PCL, you normally don't need to create PCommand objects, since there are high level classes for all the PageMaker commands.


constructor

PCommand(ePMCommand op);
A command with no parameters.
PCommand(ePMCommand op, short aShort);
A command with a single short parameter.
PCommand(ePMCommand op, long aLong);
A command with a single long parameter.
PCommand(ePMCommand op, const char * aString);
A command with a single C-string parameter.
PCommand(ePMCommand op, void * aRawBuf, size_t theLen);
A command with a fully formed request buffer, with its length.
PCommand(ePMCommand op, PRequestBuf& request);
A command with a request buffer object. This is often used with commands that require varying number of parameters.

Member functions

DoCommand(ePMCommand op);
Creates the callback object to execute the command callback to PageMaker.


See also

The PQuery low level class


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support